package c.a.a.d0;

import c.a.a.d0.h0.c.a;
import c.f.d.a.a.b.d;

/* compiled from: ContentModelParser */
public class f {
    public static a a = a.a("ty", d.a);

    /* JADX WARNING: Removed duplicated region for block: B:118:0x020a A:{SKIP} */
    /* JADX WARNING: Removed duplicated region for block: B:118:0x020a A:{SKIP} */
    public static c.a.a.b0.k.b a(c.a.a.d0.h0.c r30, c.a.a.f r31) throws java.io.IOException {
        /*
        r0 = r30;
        r1 = r31;
        r2 = c.a.a.b0.k.f.LINEAR;
        r3 = c.a.a.b0.k.f.RADIAL;
        r30.o();
        r4 = 2;
        r5 = 2;
    L_0x000d:
        r6 = r30.t();
        r7 = 1;
        r8 = 0;
        if (r6 == 0) goto L_0x0030;
    L_0x0015:
        r6 = a;
        r6 = r0.w0(r6);
        if (r6 == 0) goto L_0x002b;
    L_0x001d:
        if (r6 == r7) goto L_0x0026;
    L_0x001f:
        r30.x0();
        r30.y0();
        goto L_0x000d;
    L_0x0026:
        r5 = r30.h0();
        goto L_0x000d;
    L_0x002b:
        r6 = r30.t0();
        goto L_0x0031;
    L_0x0030:
        r6 = r8;
    L_0x0031:
        if (r6 != 0) goto L_0x0034;
    L_0x0033:
        return r8;
    L_0x0034:
        r8 = r6.hashCode();
        r9 = 3;
        r10 = 4;
        r11 = 5;
        switch(r8) {
            case 3239: goto L_0x00d3;
            case 3270: goto L_0x00c8;
            case 3295: goto L_0x00bd;
            case 3307: goto L_0x00b2;
            case 3308: goto L_0x00a7;
            case 3488: goto L_0x009c;
            case 3633: goto L_0x0091;
            case 3646: goto L_0x0086;
            case 3669: goto L_0x0078;
            case 3679: goto L_0x006a;
            case 3681: goto L_0x005c;
            case 3705: goto L_0x004e;
            case 3710: goto L_0x0040;
            default: goto L_0x003e;
        };
    L_0x003e:
        goto L_0x00de;
    L_0x0040:
        r8 = "tr";
        r8 = r6.equals(r8);
        if (r8 != 0) goto L_0x004a;
    L_0x0048:
        goto L_0x00de;
    L_0x004a:
        r8 = 12;
        goto L_0x00df;
    L_0x004e:
        r8 = "tm";
        r8 = r6.equals(r8);
        if (r8 != 0) goto L_0x0058;
    L_0x0056:
        goto L_0x00de;
    L_0x0058:
        r8 = 11;
        goto L_0x00df;
    L_0x005c:
        r8 = "st";
        r8 = r6.equals(r8);
        if (r8 != 0) goto L_0x0066;
    L_0x0064:
        goto L_0x00de;
    L_0x0066:
        r8 = 10;
        goto L_0x00df;
    L_0x006a:
        r8 = "sr";
        r8 = r6.equals(r8);
        if (r8 != 0) goto L_0x0074;
    L_0x0072:
        goto L_0x00de;
    L_0x0074:
        r8 = 9;
        goto L_0x00df;
    L_0x0078:
        r8 = "sh";
        r8 = r6.equals(r8);
        if (r8 != 0) goto L_0x0082;
    L_0x0080:
        goto L_0x00de;
    L_0x0082:
        r8 = 8;
        goto L_0x00df;
    L_0x0086:
        r8 = "rp";
        r8 = r6.equals(r8);
        if (r8 != 0) goto L_0x008f;
    L_0x008e:
        goto L_0x00de;
    L_0x008f:
        r8 = 7;
        goto L_0x00df;
    L_0x0091:
        r8 = "rc";
        r8 = r6.equals(r8);
        if (r8 != 0) goto L_0x009a;
    L_0x0099:
        goto L_0x00de;
    L_0x009a:
        r8 = 6;
        goto L_0x00df;
    L_0x009c:
        r8 = "mm";
        r8 = r6.equals(r8);
        if (r8 != 0) goto L_0x00a5;
    L_0x00a4:
        goto L_0x00de;
    L_0x00a5:
        r8 = 5;
        goto L_0x00df;
    L_0x00a7:
        r8 = "gs";
        r8 = r6.equals(r8);
        if (r8 != 0) goto L_0x00b0;
    L_0x00af:
        goto L_0x00de;
    L_0x00b0:
        r8 = 4;
        goto L_0x00df;
    L_0x00b2:
        r8 = "gr";
        r8 = r6.equals(r8);
        if (r8 != 0) goto L_0x00bb;
    L_0x00ba:
        goto L_0x00de;
    L_0x00bb:
        r8 = 3;
        goto L_0x00df;
    L_0x00bd:
        r8 = "gf";
        r8 = r6.equals(r8);
        if (r8 != 0) goto L_0x00c6;
    L_0x00c5:
        goto L_0x00de;
    L_0x00c6:
        r8 = 2;
        goto L_0x00df;
    L_0x00c8:
        r8 = "fl";
        r8 = r6.equals(r8);
        if (r8 != 0) goto L_0x00d1;
    L_0x00d0:
        goto L_0x00de;
    L_0x00d1:
        r8 = 1;
        goto L_0x00df;
    L_0x00d3:
        r8 = "el";
        r8 = r6.equals(r8);
        if (r8 != 0) goto L_0x00dc;
    L_0x00db:
        goto L_0x00de;
    L_0x00dc:
        r8 = 0;
        goto L_0x00df;
    L_0x00de:
        r8 = -1;
    L_0x00df:
        r12 = "o";
        r13 = "g";
        r14 = "d";
        r15 = 100;
        switch(r8) {
            case 0: goto L_0x0714;
            case 1: goto L_0x069f;
            case 2: goto L_0x05e2;
            case 3: goto L_0x059a;
            case 4: goto L_0x0448;
            case 5: goto L_0x03f2;
            case 6: goto L_0x03a9;
            case 7: goto L_0x035e;
            case 8: goto L_0x0319;
            case 9: goto L_0x0290;
            case 10: goto L_0x0174;
            case 11: goto L_0x0107;
            case 12: goto L_0x0101;
            default: goto L_0x00ea;
        };
    L_0x00ea:
        r1 = new java.lang.StringBuilder;
        r1.<init>();
        r2 = "Unknown shape type ";
        r1.append(r2);
        r1.append(r6);
        r1 = r1.toString();
        c.a.a.e0.c.b(r1);
        r1 = 0;
        goto L_0x0767;
    L_0x0101:
        r1 = c.a.a.d0.c.a(r30, r31);
        goto L_0x0767;
    L_0x0107:
        r2 = c.a.a.d0.f0.a;
        r2 = 0;
        r3 = 0;
        r5 = 0;
        r6 = 0;
        r8 = 0;
        r12 = 0;
        r14 = r2;
        r15 = r3;
        r16 = r5;
        r17 = r6;
        r18 = r8;
        r19 = 0;
    L_0x0119:
        r2 = r30.t();
        if (r2 == 0) goto L_0x016c;
    L_0x011f:
        r2 = c.a.a.d0.f0.a;
        r2 = r0.w0(r2);
        if (r2 == 0) goto L_0x0166;
    L_0x0127:
        if (r2 == r7) goto L_0x0160;
    L_0x0129:
        if (r2 == r4) goto L_0x015a;
    L_0x012b:
        if (r2 == r9) goto L_0x0155;
    L_0x012d:
        if (r2 == r10) goto L_0x013a;
    L_0x012f:
        if (r2 == r11) goto L_0x0135;
    L_0x0131:
        r30.y0();
        goto L_0x0119;
    L_0x0135:
        r19 = r30.v();
        goto L_0x0119;
    L_0x013a:
        r2 = r30.h0();
        if (r2 == r7) goto L_0x0151;
    L_0x0140:
        if (r2 != r4) goto L_0x0145;
    L_0x0142:
        r2 = c.a.a.b0.k.q.a.INDIVIDUALLY;
        goto L_0x0153;
    L_0x0145:
        r0 = new java.lang.IllegalArgumentException;
        r1 = "Unknown trim path type ";
        r1 = c.b.a.a.a.A(r1, r2);
        r0.<init>(r1);
        throw r0;
    L_0x0151:
        r2 = c.a.a.b0.k.q.a.SIMULTANEOUSLY;
    L_0x0153:
        r15 = r2;
        goto L_0x0119;
    L_0x0155:
        r14 = r30.t0();
        goto L_0x0119;
    L_0x015a:
        r2 = 0;
        r18 = b.i.b.f.L0(r0, r1, r2);
        goto L_0x0119;
    L_0x0160:
        r2 = 0;
        r17 = b.i.b.f.L0(r0, r1, r2);
        goto L_0x0119;
    L_0x0166:
        r2 = 0;
        r16 = b.i.b.f.L0(r0, r1, r2);
        goto L_0x0119;
    L_0x016c:
        r1 = new c.a.a.b0.k.q;
        r13 = r1;
        r13.m5165init(r14, r15, r16, r17, r18, r19);
        goto L_0x0767;
    L_0x0174:
        r2 = c.a.a.d0.e0.a;
        r2 = new java.util.ArrayList;
        r2.<init>();
        r3 = 0;
        r5 = 0;
        r6 = 0;
        r8 = 0;
        r9 = 0;
        r10 = 0;
        r11 = 0;
        r16 = 0;
        r17 = 0;
        r17 = r5;
        r18 = r6;
        r20 = r8;
        r22 = r9;
        r23 = r10;
        r24 = r11;
        r25 = 0;
        r26 = 0;
    L_0x0196:
        r5 = r30.t();
        if (r5 == 0) goto L_0x026c;
    L_0x019c:
        r5 = c.a.a.d0.e0.a;
        r5 = r0.w0(r5);
        switch(r5) {
            case 0: goto L_0x0266;
            case 1: goto L_0x0260;
            case 2: goto L_0x025a;
            case 3: goto L_0x0254;
            case 4: goto L_0x0247;
            case 5: goto L_0x023a;
            case 6: goto L_0x0231;
            case 7: goto L_0x022b;
            case 8: goto L_0x01a9;
            default: goto L_0x01a5;
        };
    L_0x01a5:
        r30.y0();
        goto L_0x0196;
    L_0x01a9:
        r30.n();
    L_0x01ac:
        r5 = r30.t();
        if (r5 == 0) goto L_0x0218;
    L_0x01b2:
        r30.o();
        r5 = 0;
        r6 = 0;
    L_0x01b7:
        r8 = r30.t();
        if (r8 == 0) goto L_0x01d8;
    L_0x01bd:
        r8 = c.a.a.d0.e0.b;
        r8 = r0.w0(r8);
        if (r8 == 0) goto L_0x01d3;
    L_0x01c5:
        if (r8 == r7) goto L_0x01ce;
    L_0x01c7:
        r30.x0();
        r30.y0();
        goto L_0x01b7;
    L_0x01ce:
        r5 = b.i.b.f.K0(r30, r31);
        goto L_0x01b7;
    L_0x01d3:
        r6 = r30.t0();
        goto L_0x01b7;
    L_0x01d8:
        r30.r();
        r6.hashCode();
        r8 = r6.hashCode();
        if (r8 == r15) goto L_0x01ff;
    L_0x01e4:
        r9 = 103; // 0x67 float:1.44E-43 double:5.1E-322;
        if (r8 == r9) goto L_0x01f6;
    L_0x01e8:
        r9 = 111; // 0x6f float:1.56E-43 double:5.5E-322;
        if (r8 == r9) goto L_0x01ed;
    L_0x01ec:
        goto L_0x0205;
    L_0x01ed:
        r6 = r6.equals(r12);
        if (r6 != 0) goto L_0x01f4;
    L_0x01f3:
        goto L_0x0205;
    L_0x01f4:
        r6 = 2;
        goto L_0x0208;
    L_0x01f6:
        r6 = r6.equals(r13);
        if (r6 != 0) goto L_0x01fd;
    L_0x01fc:
        goto L_0x0205;
    L_0x01fd:
        r6 = 1;
        goto L_0x0208;
    L_0x01ff:
        r6 = r6.equals(r14);
        if (r6 != 0) goto L_0x0207;
    L_0x0205:
        r6 = -1;
        goto L_0x0208;
    L_0x0207:
        r6 = 0;
    L_0x0208:
        if (r6 == 0) goto L_0x0212;
    L_0x020a:
        if (r6 == r7) goto L_0x0212;
    L_0x020c:
        if (r6 == r4) goto L_0x020f;
    L_0x020e:
        goto L_0x01ac;
    L_0x020f:
        r18 = r5;
        goto L_0x01ac;
    L_0x0212:
        r1.n = r7;
        r2.add(r5);
        goto L_0x01ac;
    L_0x0218:
        r30.q();
        r5 = r2.size();
        if (r5 != r7) goto L_0x0196;
    L_0x0221:
        r5 = 0;
        r5 = r2.get(r5);
        r2.add(r5);
        goto L_0x0196;
    L_0x022b:
        r26 = r30.v();
        goto L_0x0196;
    L_0x0231:
        r5 = r30.w();
        r5 = (float) r5;
        r25 = r5;
        goto L_0x0196;
    L_0x023a:
        r5 = c.a.a.b0.k.p.b.values();
        r6 = r30.h0();
        r6 = r6 - r7;
        r24 = r5[r6];
        goto L_0x0196;
    L_0x0247:
        r5 = c.a.a.b0.k.p.a.values();
        r6 = r30.h0();
        r6 = r6 - r7;
        r23 = r5[r6];
        goto L_0x0196;
    L_0x0254:
        r3 = b.i.b.f.M0(r30, r31);
        goto L_0x0196;
    L_0x025a:
        r22 = b.i.b.f.K0(r30, r31);
        goto L_0x0196;
    L_0x0260:
        r20 = b.i.b.f.J0(r30, r31);
        goto L_0x0196;
    L_0x0266:
        r17 = r30.t0();
        goto L_0x0196;
    L_0x026c:
        if (r3 != 0) goto L_0x0283;
    L_0x026e:
        r1 = new c.a.a.b0.j.d;
        r3 = new c.a.a.f0.a;
        r4 = java.lang.Integer.valueOf(r15);
        r3.m783init(r4);
        r3 = java.util.Collections.singletonList(r3);
        r1.m7884init(r3);
        r21 = r1;
        goto L_0x0285;
    L_0x0283:
        r21 = r3;
    L_0x0285:
        r1 = new c.a.a.b0.k.p;
        r16 = r1;
        r19 = r2;
        r16.m5164init(r17, r18, r19, r20, r21, r22, r23, r24, r25, r26);
        goto L_0x0767;
    L_0x0290:
        r2 = c.a.a.d0.w.a;
        r2 = 0;
        r3 = 0;
        r5 = 0;
        r6 = 0;
        r7 = 0;
        r8 = 0;
        r9 = 0;
        r10 = 0;
        r11 = 0;
        r12 = 0;
        r14 = r2;
        r15 = r3;
        r16 = r5;
        r17 = r6;
        r18 = r7;
        r19 = r8;
        r20 = r9;
        r21 = r10;
        r22 = r11;
        r23 = 0;
    L_0x02ae:
        r2 = r30.t();
        if (r2 == 0) goto L_0x0311;
    L_0x02b4:
        r2 = c.a.a.d0.w.a;
        r2 = r0.w0(r2);
        switch(r2) {
            case 0: goto L_0x030a;
            case 1: goto L_0x02f0;
            case 2: goto L_0x02ea;
            case 3: goto L_0x02e5;
            case 4: goto L_0x02df;
            case 5: goto L_0x02da;
            case 6: goto L_0x02d4;
            case 7: goto L_0x02cf;
            case 8: goto L_0x02c9;
            case 9: goto L_0x02c4;
            default: goto L_0x02bd;
        };
    L_0x02bd:
        r30.x0();
        r30.y0();
        goto L_0x030f;
    L_0x02c4:
        r23 = r30.v();
        goto L_0x02ae;
    L_0x02c9:
        r2 = 0;
        r21 = b.i.b.f.L0(r0, r1, r2);
        goto L_0x02ae;
    L_0x02cf:
        r19 = b.i.b.f.K0(r30, r31);
        goto L_0x02ae;
    L_0x02d4:
        r2 = 0;
        r22 = b.i.b.f.L0(r0, r1, r2);
        goto L_0x02ae;
    L_0x02da:
        r20 = b.i.b.f.K0(r30, r31);
        goto L_0x02ae;
    L_0x02df:
        r2 = 0;
        r18 = b.i.b.f.L0(r0, r1, r2);
        goto L_0x02ae;
    L_0x02e5:
        r17 = c.a.a.d0.a.b(r30, r31);
        goto L_0x02ae;
    L_0x02ea:
        r2 = 0;
        r16 = b.i.b.f.L0(r0, r1, r2);
        goto L_0x02ae;
    L_0x02f0:
        r2 = r30.h0();
        r3 = c.a.a.b0.k.i.a.values();
        r5 = 0;
    L_0x02f9:
        if (r5 >= r4) goto L_0x0307;
    L_0x02fb:
        r4 = r3[r5];
        r6 = r4.a;
        if (r6 != r2) goto L_0x0303;
    L_0x0301:
        r15 = r4;
        goto L_0x030f;
    L_0x0303:
        r5 = r5 + 1;
        r4 = 2;
        goto L_0x02f9;
    L_0x0307:
        r2 = 0;
        r15 = r2;
        goto L_0x030f;
    L_0x030a:
        r2 = r30.t0();
        r14 = r2;
    L_0x030f:
        r4 = 2;
        goto L_0x02ae;
    L_0x0311:
        r1 = new c.a.a.b0.k.i;
        r13 = r1;
        r13.m5158init(r14, r15, r16, r17, r18, r19, r20, r21, r22, r23);
        goto L_0x0767;
    L_0x0319:
        r2 = c.a.a.d0.d0.a;
        r2 = 0;
        r3 = 0;
        r4 = 0;
        r5 = 0;
    L_0x031f:
        r6 = r30.t();
        if (r6 == 0) goto L_0x0357;
    L_0x0325:
        r6 = c.a.a.d0.d0.a;
        r6 = r0.w0(r6);
        if (r6 == 0) goto L_0x0352;
    L_0x032d:
        if (r6 == r7) goto L_0x034d;
    L_0x032f:
        r8 = 2;
        if (r6 == r8) goto L_0x033d;
    L_0x0332:
        if (r6 == r9) goto L_0x0338;
    L_0x0334:
        r30.y0();
        goto L_0x031f;
    L_0x0338:
        r3 = r30.v();
        goto L_0x031f;
    L_0x033d:
        r2 = new c.a.a.b0.j.h;
        r6 = c.a.a.e0.g.c();
        r8 = c.a.a.d0.a0.a;
        r6 = c.a.a.d0.q.a(r0, r1, r6, r8);
        r2.m7887init(r6);
        goto L_0x031f;
    L_0x034d:
        r5 = r30.h0();
        goto L_0x031f;
    L_0x0352:
        r4 = r30.t0();
        goto L_0x031f;
    L_0x0357:
        r1 = new c.a.a.b0.k.o;
        r1.m5163init(r4, r5, r2, r3);
        goto L_0x0767;
    L_0x035e:
        r2 = c.a.a.d0.y.a;
        r2 = 0;
        r3 = 0;
        r4 = 0;
        r5 = 0;
        r6 = 0;
        r12 = r2;
        r13 = r3;
        r14 = r4;
        r15 = r5;
        r16 = 0;
    L_0x036b:
        r2 = r30.t();
        if (r2 == 0) goto L_0x03a1;
    L_0x0371:
        r2 = c.a.a.d0.y.a;
        r2 = r0.w0(r2);
        if (r2 == 0) goto L_0x039c;
    L_0x0379:
        if (r2 == r7) goto L_0x0396;
    L_0x037b:
        r3 = 2;
        if (r2 == r3) goto L_0x0390;
    L_0x037e:
        if (r2 == r9) goto L_0x038b;
    L_0x0380:
        if (r2 == r10) goto L_0x0386;
    L_0x0382:
        r30.y0();
        goto L_0x036b;
    L_0x0386:
        r16 = r30.v();
        goto L_0x036b;
    L_0x038b:
        r15 = c.a.a.d0.c.a(r30, r31);
        goto L_0x036b;
    L_0x0390:
        r2 = 0;
        r14 = b.i.b.f.L0(r0, r1, r2);
        goto L_0x036b;
    L_0x0396:
        r2 = 0;
        r13 = b.i.b.f.L0(r0, r1, r2);
        goto L_0x036b;
    L_0x039c:
        r12 = r30.t0();
        goto L_0x036b;
    L_0x03a1:
        r1 = new c.a.a.b0.k.k;
        r11 = r1;
        r11.m5160init(r12, r13, r14, r15, r16);
        goto L_0x0767;
    L_0x03a9:
        r2 = c.a.a.d0.x.a;
        r2 = 0;
        r3 = 0;
        r4 = 0;
        r5 = 0;
        r6 = 0;
        r12 = r2;
        r13 = r3;
        r14 = r4;
        r15 = r5;
        r16 = 0;
    L_0x03b6:
        r2 = r30.t();
        if (r2 == 0) goto L_0x03ea;
    L_0x03bc:
        r2 = c.a.a.d0.x.a;
        r2 = r0.w0(r2);
        if (r2 == 0) goto L_0x03e5;
    L_0x03c4:
        if (r2 == r7) goto L_0x03e0;
    L_0x03c6:
        r3 = 2;
        if (r2 == r3) goto L_0x03db;
    L_0x03c9:
        if (r2 == r9) goto L_0x03d6;
    L_0x03cb:
        if (r2 == r10) goto L_0x03d1;
    L_0x03cd:
        r30.y0();
        goto L_0x03b6;
    L_0x03d1:
        r16 = r30.v();
        goto L_0x03b6;
    L_0x03d6:
        r15 = b.i.b.f.K0(r30, r31);
        goto L_0x03b6;
    L_0x03db:
        r14 = b.i.b.f.N0(r30, r31);
        goto L_0x03b6;
    L_0x03e0:
        r13 = c.a.a.d0.a.b(r30, r31);
        goto L_0x03b6;
    L_0x03e5:
        r12 = r30.t0();
        goto L_0x03b6;
    L_0x03ea:
        r1 = new c.a.a.b0.k.j;
        r11 = r1;
        r11.m5159init(r12, r13, r14, r15, r16);
        goto L_0x0767;
    L_0x03f2:
        r2 = c.a.a.d0.t.a;
        r2 = 0;
        r3 = 0;
        r4 = 0;
    L_0x03f7:
        r5 = r30.t();
        if (r5 == 0) goto L_0x043b;
    L_0x03fd:
        r5 = c.a.a.d0.t.a;
        r5 = r0.w0(r5);
        if (r5 == 0) goto L_0x0436;
    L_0x0405:
        if (r5 == r7) goto L_0x0416;
    L_0x0407:
        r6 = 2;
        if (r5 == r6) goto L_0x0411;
    L_0x040a:
        r30.x0();
        r30.y0();
        goto L_0x03f7;
    L_0x0411:
        r4 = r30.v();
        goto L_0x03f7;
    L_0x0416:
        r2 = 2;
        r5 = r30.h0();
        r6 = c.a.a.b0.k.h.a.MERGE;
        if (r5 == r7) goto L_0x0434;
    L_0x041f:
        if (r5 == r2) goto L_0x0431;
    L_0x0421:
        if (r5 == r9) goto L_0x042e;
    L_0x0423:
        if (r5 == r10) goto L_0x042b;
    L_0x0425:
        if (r5 == r11) goto L_0x0428;
    L_0x0427:
        goto L_0x0434;
    L_0x0428:
        r2 = c.a.a.b0.k.h.a.EXCLUDE_INTERSECTIONS;
        goto L_0x03f7;
    L_0x042b:
        r2 = c.a.a.b0.k.h.a.INTERSECT;
        goto L_0x03f7;
    L_0x042e:
        r2 = c.a.a.b0.k.h.a.SUBTRACT;
        goto L_0x03f7;
    L_0x0431:
        r2 = c.a.a.b0.k.h.a.ADD;
        goto L_0x03f7;
    L_0x0434:
        r2 = r6;
        goto L_0x03f7;
    L_0x0436:
        r3 = r30.t0();
        goto L_0x03f7;
    L_0x043b:
        r5 = new c.a.a.b0.k.h;
        r5.m5157init(r3, r2, r4);
        r2 = "Animation contains merge paths. Merge paths are only supported on KitKat+ and must be manually enabled by calling enableMergePathsForKitKatAndAbove().";
        r1.a(r2);
        r1 = r5;
        goto L_0x0767;
    L_0x0448:
        r4 = c.a.a.d0.m.a;
        r4 = new java.util.ArrayList;
        r4.<init>();
        r5 = 0;
        r6 = 0;
        r8 = 0;
        r9 = 0;
        r10 = 0;
        r11 = 0;
        r16 = 0;
        r17 = 0;
        r18 = 0;
        r19 = 0;
        r20 = 0;
        r21 = 0;
        r19 = r9;
        r21 = r10;
        r22 = r11;
        r23 = r16;
        r24 = r17;
        r25 = r18;
        r28 = r20;
        r26 = 0;
        r29 = 0;
        r17 = r6;
        r18 = r8;
    L_0x0477:
        r6 = r30.t();
        if (r6 == 0) goto L_0x0576;
    L_0x047d:
        r6 = c.a.a.d0.m.a;
        r6 = r0.w0(r6);
        switch(r6) {
            case 0: goto L_0x0570;
            case 1: goto L_0x053a;
            case 2: goto L_0x0534;
            case 3: goto L_0x0526;
            case 4: goto L_0x0520;
            case 5: goto L_0x051a;
            case 6: goto L_0x0514;
            case 7: goto L_0x0507;
            case 8: goto L_0x04fa;
            case 9: goto L_0x04f1;
            case 10: goto L_0x04ec;
            case 11: goto L_0x048d;
            default: goto L_0x0486;
        };
    L_0x0486:
        r30.x0();
        r30.y0();
        goto L_0x0477;
    L_0x048d:
        r30.n();
    L_0x0490:
        r6 = r30.t();
        if (r6 == 0) goto L_0x04da;
    L_0x0496:
        r30.o();
        r6 = 0;
        r8 = 0;
    L_0x049b:
        r9 = r30.t();
        if (r9 == 0) goto L_0x04bc;
    L_0x04a1:
        r9 = c.a.a.d0.m.c;
        r9 = r0.w0(r9);
        if (r9 == 0) goto L_0x04b7;
    L_0x04a9:
        if (r9 == r7) goto L_0x04b2;
    L_0x04ab:
        r30.x0();
        r30.y0();
        goto L_0x049b;
    L_0x04b2:
        r6 = b.i.b.f.K0(r30, r31);
        goto L_0x049b;
    L_0x04b7:
        r8 = r30.t0();
        goto L_0x049b;
    L_0x04bc:
        r30.r();
        r9 = r8.equals(r12);
        if (r9 == 0) goto L_0x04c8;
    L_0x04c5:
        r28 = r6;
        goto L_0x0490;
    L_0x04c8:
        r9 = r8.equals(r14);
        if (r9 != 0) goto L_0x04d4;
    L_0x04ce:
        r8 = r8.equals(r13);
        if (r8 == 0) goto L_0x0490;
    L_0x04d4:
        r1.n = r7;
        r4.add(r6);
        goto L_0x0490;
    L_0x04da:
        r30.q();
        r6 = r4.size();
        if (r6 != r7) goto L_0x0477;
    L_0x04e3:
        r6 = 0;
        r6 = r4.get(r6);
        r4.add(r6);
        goto L_0x0477;
    L_0x04ec:
        r29 = r30.v();
        goto L_0x0477;
    L_0x04f1:
        r8 = r30.w();
        r6 = (float) r8;
        r26 = r6;
        goto L_0x0477;
    L_0x04fa:
        r6 = c.a.a.b0.k.p.b.values();
        r8 = r30.h0();
        r8 = r8 - r7;
        r25 = r6[r8];
        goto L_0x0477;
    L_0x0507:
        r6 = c.a.a.b0.k.p.a.values();
        r8 = r30.h0();
        r8 = r8 - r7;
        r24 = r6[r8];
        goto L_0x0477;
    L_0x0514:
        r23 = b.i.b.f.K0(r30, r31);
        goto L_0x0477;
    L_0x051a:
        r22 = b.i.b.f.N0(r30, r31);
        goto L_0x0477;
    L_0x0520:
        r21 = b.i.b.f.N0(r30, r31);
        goto L_0x0477;
    L_0x0526:
        r6 = r30.h0();
        if (r6 != r7) goto L_0x0530;
    L_0x052c:
        r18 = r2;
        goto L_0x0477;
    L_0x0530:
        r18 = r3;
        goto L_0x0477;
    L_0x0534:
        r5 = b.i.b.f.M0(r30, r31);
        goto L_0x0477;
    L_0x053a:
        r30.o();
        r6 = -1;
    L_0x053e:
        r8 = r30.t();
        if (r8 == 0) goto L_0x056b;
    L_0x0544:
        r8 = c.a.a.d0.m.b;
        r8 = r0.w0(r8);
        if (r8 == 0) goto L_0x0566;
    L_0x054c:
        if (r8 == r7) goto L_0x0555;
    L_0x054e:
        r30.x0();
        r30.y0();
        goto L_0x053e;
    L_0x0555:
        r8 = new c.a.a.b0.j.c;
        r9 = new c.a.a.d0.k;
        r9.m5177init(r6);
        r9 = b.i.b.f.I0(r0, r1, r9);
        r8.m7883init(r9);
        r19 = r8;
        goto L_0x053e;
    L_0x0566:
        r6 = r30.h0();
        goto L_0x053e;
    L_0x056b:
        r30.r();
        goto L_0x0477;
    L_0x0570:
        r17 = r30.t0();
        goto L_0x0477;
    L_0x0576:
        if (r5 != 0) goto L_0x058d;
    L_0x0578:
        r1 = new c.a.a.b0.j.d;
        r2 = new c.a.a.f0.a;
        r3 = java.lang.Integer.valueOf(r15);
        r2.m783init(r3);
        r2 = java.util.Collections.singletonList(r2);
        r1.m7884init(r2);
        r20 = r1;
        goto L_0x058f;
    L_0x058d:
        r20 = r5;
    L_0x058f:
        r1 = new c.a.a.b0.k.e;
        r16 = r1;
        r27 = r4;
        r16.m5156init(r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29);
        goto L_0x0767;
    L_0x059a:
        r2 = c.a.a.d0.c0.a;
        r2 = new java.util.ArrayList;
        r2.<init>();
        r3 = 0;
        r4 = 0;
    L_0x05a3:
        r5 = r30.t();
        if (r5 == 0) goto L_0x05db;
    L_0x05a9:
        r5 = c.a.a.d0.c0.a;
        r5 = r0.w0(r5);
        if (r5 == 0) goto L_0x05d6;
    L_0x05b1:
        if (r5 == r7) goto L_0x05d1;
    L_0x05b3:
        r6 = 2;
        if (r5 == r6) goto L_0x05ba;
    L_0x05b6:
        r30.y0();
        goto L_0x05a3;
    L_0x05ba:
        r30.n();
    L_0x05bd:
        r5 = r30.t();
        if (r5 == 0) goto L_0x05cd;
    L_0x05c3:
        r5 = a(r30, r31);
        if (r5 == 0) goto L_0x05bd;
    L_0x05c9:
        r2.add(r5);
        goto L_0x05bd;
    L_0x05cd:
        r30.q();
        goto L_0x05a3;
    L_0x05d1:
        r4 = r30.v();
        goto L_0x05a3;
    L_0x05d6:
        r3 = r30.t0();
        goto L_0x05a3;
    L_0x05db:
        r1 = new c.a.a.b0.k.n;
        r1.m5162init(r3, r2, r4);
        goto L_0x0767;
    L_0x05e2:
        r4 = c.a.a.d0.l.a;
        r4 = android.graphics.Path.FillType.WINDING;
        r5 = 0;
        r6 = 0;
        r8 = 0;
        r9 = 0;
        r10 = 0;
        r11 = 0;
        r12 = 0;
        r19 = r4;
        r17 = r6;
        r18 = r8;
        r20 = r9;
        r22 = r10;
        r23 = r11;
        r26 = 0;
    L_0x05fb:
        r4 = r30.t();
        if (r4 == 0) goto L_0x0679;
    L_0x0601:
        r4 = c.a.a.d0.l.a;
        r4 = r0.w0(r4);
        switch(r4) {
            case 0: goto L_0x0674;
            case 1: goto L_0x063f;
            case 2: goto L_0x063a;
            case 3: goto L_0x062e;
            case 4: goto L_0x0629;
            case 5: goto L_0x0624;
            case 6: goto L_0x0616;
            case 7: goto L_0x0611;
            default: goto L_0x060a;
        };
    L_0x060a:
        r30.x0();
        r30.y0();
        goto L_0x05fb;
    L_0x0611:
        r26 = r30.v();
        goto L_0x05fb;
    L_0x0616:
        r4 = r30.h0();
        if (r4 != r7) goto L_0x061f;
    L_0x061c:
        r4 = android.graphics.Path.FillType.WINDING;
        goto L_0x0621;
    L_0x061f:
        r4 = android.graphics.Path.FillType.EVEN_ODD;
    L_0x0621:
        r19 = r4;
        goto L_0x05fb;
    L_0x0624:
        r23 = b.i.b.f.N0(r30, r31);
        goto L_0x05fb;
    L_0x0629:
        r22 = b.i.b.f.N0(r30, r31);
        goto L_0x05fb;
    L_0x062e:
        r4 = r30.h0();
        if (r4 != r7) goto L_0x0637;
    L_0x0634:
        r18 = r2;
        goto L_0x05fb;
    L_0x0637:
        r18 = r3;
        goto L_0x05fb;
    L_0x063a:
        r5 = b.i.b.f.M0(r30, r31);
        goto L_0x05fb;
    L_0x063f:
        r30.o();
        r4 = -1;
    L_0x0643:
        r6 = r30.t();
        if (r6 == 0) goto L_0x0670;
    L_0x0649:
        r6 = c.a.a.d0.l.b;
        r6 = r0.w0(r6);
        if (r6 == 0) goto L_0x066b;
    L_0x0651:
        if (r6 == r7) goto L_0x065a;
    L_0x0653:
        r30.x0();
        r30.y0();
        goto L_0x0643;
    L_0x065a:
        r6 = new c.a.a.b0.j.c;
        r8 = new c.a.a.d0.k;
        r8.m5177init(r4);
        r8 = b.i.b.f.I0(r0, r1, r8);
        r6.m7883init(r8);
        r20 = r6;
        goto L_0x0643;
    L_0x066b:
        r4 = r30.h0();
        goto L_0x0643;
    L_0x0670:
        r30.r();
        goto L_0x05fb;
    L_0x0674:
        r17 = r30.t0();
        goto L_0x05fb;
    L_0x0679:
        if (r5 != 0) goto L_0x0690;
    L_0x067b:
        r1 = new c.a.a.b0.j.d;
        r2 = new c.a.a.f0.a;
        r3 = java.lang.Integer.valueOf(r15);
        r2.m783init(r3);
        r2 = java.util.Collections.singletonList(r2);
        r1.m7884init(r2);
        r21 = r1;
        goto L_0x0692;
    L_0x0690:
        r21 = r5;
    L_0x0692:
        r1 = new c.a.a.b0.k.d;
        r24 = 0;
        r25 = 0;
        r16 = r1;
        r16.m5155init(r17, r18, r19, r20, r21, r22, r23, r24, r25, r26);
        goto L_0x0767;
    L_0x069f:
        r2 = c.a.a.d0.b0.a;
        r2 = 1;
        r3 = 0;
        r4 = 0;
        r5 = 0;
        r6 = 0;
        r8 = 0;
        r17 = r4;
        r20 = r6;
        r18 = 0;
        r22 = 0;
    L_0x06af:
        r4 = r30.t();
        if (r4 == 0) goto L_0x06ed;
    L_0x06b5:
        r4 = c.a.a.d0.b0.a;
        r4 = r0.w0(r4);
        if (r4 == 0) goto L_0x06e8;
    L_0x06bd:
        if (r4 == r7) goto L_0x06e3;
    L_0x06bf:
        r5 = 2;
        if (r4 == r5) goto L_0x06de;
    L_0x06c2:
        if (r4 == r9) goto L_0x06d9;
    L_0x06c4:
        if (r4 == r10) goto L_0x06d4;
    L_0x06c6:
        if (r4 == r11) goto L_0x06cf;
    L_0x06c8:
        r30.x0();
        r30.y0();
        goto L_0x06af;
    L_0x06cf:
        r22 = r30.v();
        goto L_0x06af;
    L_0x06d4:
        r2 = r30.h0();
        goto L_0x06af;
    L_0x06d9:
        r18 = r30.v();
        goto L_0x06af;
    L_0x06de:
        r3 = b.i.b.f.M0(r30, r31);
        goto L_0x06af;
    L_0x06e3:
        r20 = b.i.b.f.J0(r30, r31);
        goto L_0x06af;
    L_0x06e8:
        r17 = r30.t0();
        goto L_0x06af;
    L_0x06ed:
        if (r3 != 0) goto L_0x0701;
    L_0x06ef:
        r3 = new c.a.a.b0.j.d;
        r1 = new c.a.a.f0.a;
        r4 = java.lang.Integer.valueOf(r15);
        r1.m783init(r4);
        r1 = java.util.Collections.singletonList(r1);
        r3.m7884init(r1);
    L_0x0701:
        r21 = r3;
        if (r2 != r7) goto L_0x0708;
    L_0x0705:
        r1 = android.graphics.Path.FillType.WINDING;
        goto L_0x070a;
    L_0x0708:
        r1 = android.graphics.Path.FillType.EVEN_ODD;
    L_0x070a:
        r19 = r1;
        r1 = new c.a.a.b0.k.m;
        r16 = r1;
        r16.m5161init(r17, r18, r19, r20, r21, r22);
        goto L_0x0767;
    L_0x0714:
        r2 = c.a.a.d0.d.a;
        if (r5 != r9) goto L_0x071a;
    L_0x0718:
        r2 = 1;
        goto L_0x071b;
    L_0x071a:
        r2 = 0;
    L_0x071b:
        r3 = 0;
        r4 = 0;
        r5 = 0;
        r6 = 0;
        r15 = r2;
        r12 = r3;
        r13 = r4;
        r14 = r5;
        r16 = 0;
    L_0x0725:
        r2 = r30.t();
        if (r2 == 0) goto L_0x0761;
    L_0x072b:
        r2 = c.a.a.d0.d.a;
        r2 = r0.w0(r2);
        if (r2 == 0) goto L_0x075c;
    L_0x0733:
        if (r2 == r7) goto L_0x0757;
    L_0x0735:
        r3 = 2;
        if (r2 == r3) goto L_0x0752;
    L_0x0738:
        if (r2 == r9) goto L_0x074d;
    L_0x073a:
        if (r2 == r10) goto L_0x0743;
    L_0x073c:
        r30.x0();
        r30.y0();
        goto L_0x0725;
    L_0x0743:
        r2 = r30.h0();
        if (r2 != r9) goto L_0x074b;
    L_0x0749:
        r15 = 1;
        goto L_0x0725;
    L_0x074b:
        r15 = 0;
        goto L_0x0725;
    L_0x074d:
        r16 = r30.v();
        goto L_0x0725;
    L_0x0752:
        r14 = b.i.b.f.N0(r30, r31);
        goto L_0x0725;
    L_0x0757:
        r13 = c.a.a.d0.a.b(r30, r31);
        goto L_0x0725;
    L_0x075c:
        r12 = r30.t0();
        goto L_0x0725;
    L_0x0761:
        r1 = new c.a.a.b0.k.a;
        r11 = r1;
        r11.m5154init(r12, r13, r14, r15, r16);
    L_0x0767:
        r2 = r30.t();
        if (r2 == 0) goto L_0x0771;
    L_0x076d:
        r30.y0();
        goto L_0x0767;
    L_0x0771:
        r30.r();
        return r1;
        */
        throw new UnsupportedOperationException("Method not decompiled: c.a.a.d0.f.a(c.a.a.d0.h0.c, c.a.a.f):c.a.a.b0.k.b");
    }
}
